package com.snake.springboot.custom.api.service.fileoss;


import com.snake.springboot.custom.api.model.fileoss.OSSDelModel;
import com.snake.springboot.custom.api.model.fileoss.OSSPoliciesModel;
import com.snake.springboot.custom.api.model.fileoss.OSSUrlModel;
import com.snake.springboot.custom.api.response.fileoss.OSSInnerPoliciesRsp;
import com.snake.springboot.custom.api.response.fileoss.OSSPoliciesRsp;

/**
 * <p>文件操作动作
 * 类{@code FileActionService} </br>
 * 创建时间2025/5/7 14:52
 * @author yangxt
 * @see
 */
public interface FileActionService {

    OSSPoliciesRsp generatePolicies(OSSPoliciesModel model);

    void delOssUrls(OSSDelModel delModel);

    String generatePresignedUrl(OSSUrlModel urlModel);

    OSSInnerPoliciesRsp innerGeneratePolicies(OSSPoliciesModel model);

    String videoFirstFrame(OSSUrlModel urlModel);

    OSSPoliciesRsp generatePoliciesBig(OSSPoliciesModel model);

}
